package com.mrd.frame.domain;

import java.util.Date;
import java.util.List;

/**
 * MRDPAY.CONFIG
 * @author dusy  2017-06-09
 * 配置表
 */
public class Config {
    /**
     * id
     */
    private String configId;

    /**
     * 商户在平台的帐号
     */
    private String userKey;

    /**
     * 配置描述
     */
    private String description;

    /**
     * 启用状态  0：注销，1：启用
     */
    private String status;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 最后修改时间
     */
    private Date modifyTime;

    /**
     * 创建者
     */
    private String creator;

    /**
     * 修改者
     */
    private String modifier;
    
    private List<AccessConfig> accessConfigList;
    private List<WhiteListConfig> whiteListConfigList;

    public String getConfigId() {
        return configId;
    }

    public void setConfigId(String configId) {
        this.configId = configId == null ? null : configId.trim();
    }

    public String getUserKey() {
        return userKey;
    }

    public void setUserKey(String userKey) {
        this.userKey = userKey == null ? null : userKey.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier == null ? null : modifier.trim();
    }


	public List<AccessConfig> getAccessConfigList() {
		return accessConfigList;
	}

	public void setAccessConfigList(List<AccessConfig> accessConfigList) {
		this.accessConfigList = accessConfigList;
	}

	public List<WhiteListConfig> getWhiteListConfigList() {
		return whiteListConfigList;
	}

	public void setWhiteListConfigList(List<WhiteListConfig> whiteListConfigList) {
		this.whiteListConfigList = whiteListConfigList;
	}

	@Override
	public String toString() {
		return "Config [configId=" + configId + ", userKey=" + userKey + ", description=" + description + ", status="
				+ status + ", createTime=" + createTime + ", modifyTime=" + modifyTime + ", creator=" + creator
				+ ", modifier=" + modifier + ", accessConfigList=" + accessConfigList + ", whiteListConfigList="
				+ whiteListConfigList + "]";
	}

}